package com.cs171.market.service;

import org.springframework.stereotype.Service;

@Service
public class AspectTestService1 {
    public void insert() throws Exception {
        // checkUserService.check(); OOP权限验证，较为繁琐
        System.out.println("AspectTestService1增加记录成功");
        //throw new Exception("人为异常");
    }

    public void delete(){
        System.out.println("AspectTestService1删除记录成功");
    }

    public void update(){
        System.out.println("AspectTestService1更新记录成功");
    }

    public void find(){
        System.out.println("AspectTestService1查询记录成功");
    }
}
